﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageMcSigAdmin.master" AutoEventWireup="true" CodeFile="Despacho.aspx.cs" Inherits="Despacho" %>

<%@ Register assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<%@ Register assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table width="80%">
        <tr>
            <td class="campo" width="25%">
                FECHA ASIGNACION</td>
            <td class="campo" >
                &nbsp;</td>
            <td>
            
                &nbsp;</td>
            <td >
            
                &nbsp;</td>
        </tr>
        <tr>
            <td class="campo">
            DESDE
            </td>
            <td >
            <asp:TextBox ID="txtFechaInicio" runat="server"></asp:TextBox>
                <asp:CalendarExtender ID="txtFechaInicio_CalendarExtender" runat="server" 
                    TargetControlID="txtFechaInicio">
                </asp:CalendarExtender>
                HASTA <asp:TextBox ID="txtFechaFinal" runat="server"></asp:TextBox>
                <asp:CalendarExtender ID="txtFechaFinal_CalendarExtender" runat="server" 
                    TargetControlID="txtFechaFinal">
                </asp:CalendarExtender>
            </td>
            <td>
            
            </td>
            <td >
            
            </td>
        </tr>
        <tr>
        <td colspan = '1' class="campo">
        ESTADO
        </td>
        <td colspan="3">
            <dx:ASPxComboBox ID="ddlEstadosOrden" runat="server" ValueType="System.String">
            </dx:ASPxComboBox>
        </td>
        </tr>
        <tr>
        <td >
        CLIENTE
        </td>
        <td colspan=3>
            <dx:ASPxGridView ID="ASPxGridViewClientes" runat="server" Width="100%" 
                AutoGenerateColumns="False" KeyFieldName="ACL_ID">
                <Columns>
                    <dx:GridViewCommandColumn ShowSelectCheckbox="True" VisibleIndex="0">
                        <ClearFilterButton Visible="True">
                        </ClearFilterButton>
                    </dx:GridViewCommandColumn>
                    <dx:GridViewDataTextColumn Caption="DIRECCION" FieldName="ACL_DIRECCION" 
                        VisibleIndex="2">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="ID" FieldName="ACL_ID" VisibleIndex="1">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="NOMBRE" FieldName="ACL_RAZON_SOCIAL" 
                        VisibleIndex="3">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="TELEFONO" FieldName="ACL_TELEFONO" 
                        VisibleIndex="4">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="NIT" FieldName="ACL_NIT" VisibleIndex="5">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="CIUDAD" VisibleIndex="7">
                    </dx:GridViewDataTextColumn>
                </Columns>
                <Settings ShowFilterRow="True" ShowGroupPanel="True" />
            </dx:ASPxGridView>
        </td>
        </tr>
        <tr>
        <td>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
        </td>
        <td>
            <asp:Button ID="btnGenerarReporte" runat="server" Text="GENERAR REPORTE" Height="32px" 
                Width="156px" onclick="btnGenerarReporte_Click" />
        </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
</table>
</asp:Content>

